package com.bby.captcha.config;

import org.springframework.context.annotation.Configuration;

@Configuration
public class MailConfiguration {

//    @Value("${spring.mail.host}")
//    private String host;
//    @Bean
//    public JavaMailSenderImpl JavaMailSender(){
//        JavaMailSenderImpl mailSender = new JavaMailSenderImpl();
//        mailSender.setHost("smtp.qq.com");
//        mailSender.setUsername("xxxxxxx@qq.com");
//        mailSender.setPassword("xxxxxxx");
//        return  mailSender;
//    }
}